package com.summer.user.center.model;

import java.io.Serializable;

public class Resource implements Serializable {

    private Long id;

    private String name;

    private String url;

    /**
     * 0菜单,1资源
     */
    private Integer type;

    /**
     * 等级,null或0为最顶级菜单
     */
    private Integer lvl;

    /**
     * 图标样式
     */
    private String icon;

    /**
     * 父菜单id
     */
    private Long prentId;

    /**
     * 菜单对应的前端组件名称
     */
    private String component;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getLvl() {
        return lvl;
    }

    public void setLvl(Integer lvl) {
        this.lvl = lvl;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Long getPrentId() {
        return prentId;
    }

    public void setPrentId(Long prentId) {
        this.prentId = prentId;
    }

    public String getComponent() {
        return component;
    }

    public void setComponent(String component) {
        this.component = component;
    }
}
